package com.example.demo.annotation;

/*
 *  @ author  zengqingfa
 *  @ created in    2020/2/22  21:41
 *
 */


@interface MyAnnotation {
    String role();
}


@interface MyAnnotations {
    MyAnnotation[] value();
}


class RepeatAnnotationUseOldVersion {

    @MyAnnotations({@MyAnnotation(role = "Admin"), @MyAnnotation(role = "Manager")})
    public void doSomeThing() {
    }

}